//
//  YZMSpreadNoUserCell.m
//  YZMicroStock
//
//  Created by apple on 17/1/5.
//  Copyright © 2017年 cqjr. All rights reserved.
//

#import "YZMSpreadNoUserCell.h"

@implementation YZMSpreadNoUserCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self=[super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createObject];
    }
    return self;
}

-(void)createObject{
    self.backgroundColor=[YZMAppStyle appBackgroundColor];
    UILabel *label=[YZMAppStyle labelWithLargeWhite];
    [self addSubview:label];
    label.backgroundColor=[YZMAppStyle appBackgroundColor];
    label.text=@"暂无用户";
    [label mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self);
        make.top.equalTo(self).offset(ScreenWidth/3);
    }];
}

@end
